﻿using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Runtime;

namespace $safeprojectname$
{
    public class Class1
    {
        [CommandMethod("Command")]
        public void Command()
        {
            Document doc = Application.DocumentManager.MdiActiveDocument;
            using (Transaction trans = doc.TransactionManager.StartTransaction())
            {
    
    
                trans.Commit();
            }
        }
    }
}